package com.bss.command;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletResponse;



public abstract class AbstractCommand {

	/**
	 * execute method to execute the user's command
	 * @param eventName event name
	 * @param request HttpServletRequest object
	 * @param response HttpServletResponse object
	 * @param session HttpSession object
	 * @return the status of the command execution
	 * @throws ExamCustomException
	 */
	public abstract boolean execute(HttpServletRequest request, HttpSession 
			session) throws Exception;
	
	public abstract boolean falseforward(HttpServletResponse response,HttpSession 
			session) throws Exception;
	
	public abstract boolean trueforward(HttpServletResponse response,HttpSession 
			session) throws Exception;
	
}
